<form method="post" <?php if( isset($action) ) echo 'action="' . $action . '"' ?>>
						<div style="margin: 15px 0;">
							<label style="display: block; ">Question:</label>
							<input style="width: 80%; display: block;" name="title" type="text" value="<?php if( isset($text ) ) echo $text; ?>" />
							<div style="color: #58A11C;">Choices:</div>
							<div style="margin-bottom: 15px; ">
								<input type="radio" name="correct_choice" value="a" <?php if( isset( $correct_choice ) && $correct_choice =='a' ) echo 'checked="checked"'?> />
								<input style="width: 50%; " type="text" name="choice_a" value="<?php if( isset( $choice_a ) ) echo $choice_a ?>" />
							</div>
							<div style="margin-bottom: 15px; ">
								<input type="radio" name="correct_choice" value="b" <?php if( isset( $correct_choice ) && $correct_choice =='b' ) echo 'checked="checked"'?> />
								<input style="width: 50%; " type="text" name="choice_b" value="<?php if( isset( $choice_b ) ) echo $choice_b ?>" />
							</div>
							<div style="margin-bottom: 15px; ">
								<input type="radio" name="correct_choice" value="c" <?php if( isset( $correct_choice ) && $correct_choice =='c' ) echo 'checked="checked"'?> />
								<input style="width: 50%; " type="text" name="choice_c" value="<?php if( isset( $choice_c ) ) echo $choice_c ?>" />
							</div>
							<div style="margin-bottom: 15px; ">
								<input type="radio" name="correct_choice" value="d" <?php if( isset( $correct_choice ) && $correct_choice =='d' ) echo 'checked="checked"'?> />
								<input style="width: 50%; " type="text" name="choice_d" value="<?php if( isset( $choice_d ) ) echo $choice_d ?>" />
							</div>
						</div>
						<div>
							<input type="submit" value="Save Question" />
						</div>
<?php 
if( isset( $hiddenInputs ) ) :
	foreach( $hiddenInputs as $key => $val ) :
?>						<input type="hidden" name="<?php echo $key ?>" value="<?php echo $val ?>" />
<?php	
	endforeach;
endif;
?>
					</form>
